package com.intelligent.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 采购退货表
 * @TableName purchase_return
 */
@TableName(value ="purchase_return")
@Data
public class PurchaseReturn implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 采购退货单号
     */
    private String returnOrderNo;

    /**
     * 采购退货状态（0待退货、1待寄出、2已寄出、3待收货等）
     */
    private String returnStatus;

    /**
     * 退货时间
     */
    private Date returnTime;

    /**
     * 退货人
     */
    private Long uId;

    /**
     * 退货数量
     */
    private Long returnQuantity;

    /**
     * 采购库存id
     */
    private String storageId;

    /**
     * 商品id
     */
    private Long productId;

    /**
     * 供货商id
     */
    private Long supplierId;

    /**
     * 仓库id
     */
    private Long warehouseId;

    /**
     * 备注
     */
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}
